package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出租房源对象 rental_house
 *
 * @author asher
 * @date 2021-12-09
 */
public class RentalHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位ID */
    private Long rentalHouseId;

    /** 房源标题 */
    @Excel(name = "房源标题")
    private String title;

    /** 租金 */
    @Excel(name = "租金")
    private String rent;

    /** 房型 */
    @Excel(name = "房型")
    private String model;

    /** 面积 */
    @Excel(name = "面积")
    private String area;

    /** 楼层 */
    @Excel(name = "楼层")
    private String level;

    /** 朝向 */
    @Excel(name = "朝向")
    private String direction;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 房屋描述 */
    @Excel(name = "房屋描述")
    private String des;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String lat;

    /** 维度 */
    @Excel(name = "维度")
    private String lon;

    /** 小区 */
    @Excel(name = "小区")
    private String village;

    /** 图片 */
    @Excel(name = "图片")
    private String pics;

    /** 发布人 */
    @Excel(name = "发布人")
    private Long userId;

    /** 房东姓名 */
    @Excel(name = "房东姓名")
    private String userName;

    /** 房屋状态 */
    @Excel(name = "房屋状态")
    private String status;

    public void setRentalHouseId(Long rentalHouseId)
    {
        this.rentalHouseId = rentalHouseId;
    }

    public Long getRentalHouseId()
    {
        return rentalHouseId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setRent(String rent)
    {
        this.rent = rent;
    }

    public String getRent()
    {
        return rent;
    }
    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDes(String des)
    {
        this.des = des;
    }

    public String getDes()
    {
        return des;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setLat(String lat)
    {
        this.lat = lat;
    }

    public String getLat()
    {
        return lat;
    }
    public void setLon(String lon)
    {
        this.lon = lon;
    }

    public String getLon()
    {
        return lon;
    }
    public void setVillage(String village)
    {
        this.village = village;
    }

    public String getVillage()
    {
        return village;
    }
    public void setPics(String pics)
    {
        this.pics = pics;
    }

    public String getPics()
    {
        return pics;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rentalHouseId", getRentalHouseId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("title", getTitle())
                .append("rent", getRent())
                .append("model", getModel())
                .append("area", getArea())
                .append("level", getLevel())
                .append("direction", getDirection())
                .append("phone", getPhone())
                .append("des", getDes())
                .append("address", getAddress())
                .append("lat", getLat())
                .append("lon", getLon())
                .append("village", getVillage())
                .append("pics", getPics())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("status", getStatus())
                .toString();
    }
}